pkgname=xdg-desktop-portal-gxde
pkgver=1.0
pkgrel=1.0
pkgdesc='xdg-desktop-portal backend for deepin'
arch=('x86_64' 'aarch64')
url='https://github.com/linuxdeepin/xdg-desktop-portal-gxde'
license=('LGPL3')
depends=('deepin-qt-dbus-factory-git' 'qt5-base')
makedepends=('git' 'ninja' 'cmake' 'qt5-tools')
provides=('xdg-desktop-portal-impl')
groups=('deepin-git')
source=('source.tar.gz')
sha512sums=('SKIP')

build() {
  cd $deepin_source_name
  cmake -GNinja \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib
  ninja
}

package() {
  cd $deepin_source_name
	DESTDIR="$pkgdir" ninja install
}
